pub fn encode<T: Into<String>>(str:T) -> String {
    format!("{:x}", md5::compute(str.into()))
}